package com.bert.feign;

import com.bert.entity.SkyWalking.SkyWalkingQueryEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name = "SkyWalking", url = "192.168.38.28:8001", contextId = "SkyWalking")
//@FeignClient(name = "Sky", url = "localhost:9021", contextId = "SkyWalking", fallbackFactory = TestClientFallbackFactory.class)
public interface SkyWalkingClient {


    @PostMapping("/graphql")
    String getSkyWalking(@RequestBody SkyWalkingQueryEntity entity);



}
